import { SupplierRequest } from '@/plugins/supplier-request'

// 供应商合同管理
export const querySupplierContractListService = (data, loadingFn) => SupplierRequest({
  url: '/supplier-contract/pageSupplierContract',
  type: 'post',
  data,
  loadingFn
});

// 供应商管理 - 供应商合同管理 - 签长协合同
export const renewContractService = (data, loadingFn) => SupplierRequest({
  url: '/supplier-contract/renew',
  type: 'post',
  data,
  loadingFn
});

// 供应商管理 - 供应商合同管理 - 签单笔合同
export const singleContractService = (data, loadingFn) => SupplierRequest({
  url: '/supplier-contract/single/renew',
  type: 'post',
  data,
  loadingFn
});
